package com.ruoyi.common.mapper;

import com.ruoyi.common.entity.businessentity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface BusinessMapper {

    List<Business> query(Business business);

    int addBusiness(Business business);

    int addBusinessDept(Business business);

    int editBusiness(Business business);

    int deleteBusiness(String id);
}
